package com.yh.app.common;

/**
 * 
 * 系统常量
 * 
 * @author  严华
 * @version  [版本号, 2012-11-4]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class Constant {
	// 员工登陆时个人信息Session常量
    // com.mss.app.common.SessionConfig.initStaffInfo(String staffId)
	public static String SESSION_USER_ID = "userId";
	public static String SESSION_User_NAME = "userName";
	public static String SESSION_LOGIN_CODE = "loginCode";
	public static String SESSION_LAST_LOGIN_DATE = "lastLoginDate";
	// 员工登陆时角色信息Session常量
	// com.mss.app.common.SessionConfig.initStaffRole(String staffId)
	public static String SESSION_ROLE_IDS = "roleIds";
    public static String SESSION_ROLE_LIST = "userRoleList";
    // 员工登陆时菜单信息Session常量
    // com.mss.app.common.SessionConfig.initMenuInfoList(String staffId, String roleIds)
	public static String SESSION_MENU_INFO_LIST = "menuInfoList";
	// 上传文件信息参数
	public static String CON_FILE_UPLOAD_NAME = "CON_FILE_UPLOAD_NAME";
	public static String CON_FILE_UPLOAD_SIZE = "CON_FILE_UPLOAD_SIZE";
	public static String CON_FILE_UPLOAD_TYPE = "CON_FILE_UPLOAD_TYPE";
	public static String CON_FILE_UPLOAD_CONTENT = "CON_FILE_UPLOAD_CONTENT";
	// 页面请求方法常量
	public static String CON_OPER_TYPE_ADD = "add";
	public static String CON_OPER_TYPE_MOD = "mod";
	public static String CON_OPER_TYPE_DEL = "del";
	public static String CON_OPER_TYPE_VIEW = "view";
}
